home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / CC_C / H001A.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-10-16  |  4KB  |  89 lines

  1. ECHO OFF
  2. ECHO .
  3. ECHO ARCHIVE FILES
  4. ECHO .
  5. ECHO NOTE: These disks contain batch files to help with the unarchiving
  6. ECHO process, these notes are for general information only!
  7. ECHO .
  8. ECHO Some disks contain files with a ARC or ZIP file extension. These
  9. ECHO are special PACKED files, usually containing a number of smaller files.
  10. ECHO They are used to save disk space. Before you can use 'Archived' programs
  11. ECHO they need unpacking; you will need ARC.EXE, PKXARC.COM, ARCE.COM
  12. ECHO or PKUNZIP.EXE for ZIP files. The procedure:- put new formatted disk in B,
  13. ECHO put disk with unpacker program and the archive file in drive A, then 
  14. ECHO type as follows "B:<cr>" to log into drive B, then:-"A:ARC E A:XXXXXX<cr>"
  15. ECHO (for ARC.EXE) or "A:ARCX A:XXXXXX<cr>" (substitute PKXARC etc where it
  16. ECHO says ARCX if you have a different program), where XXXXXX is the name of 
  17. ECHO the file to be unpacked. The files will be extracted and put on the disk 
  18. ECHO in B: For further information on archives and how to use library disks
  19. echo see inside the back cover of our catalogue. If you don't have one of our
  20. echo catalogues you may obtain one by sending us 50p in postage stamps or 2
  21. echo IRCs if you are not a UK resident. 
  22. ECHO -
  23. pause
  24. cls
  25. ECHO -
  26. ECHO You are about to unarchive some software from several floppy disks onto
  27. ECHO your hard disk. Provided the displayed instructions are followed carefully
  28. ECHO you should not experience any problems.                                 
  29. ECHO -
  30. PAUSE
  31. cls
  32. if %2x==x goto NODRIVE
  33. if %1x==x goto NODRIVE
  34. echo All disk drive designations must end with colons. For instance, drive C
  35. echo is designated as "C:", not "C".
  36. echo.
  37. echo If the drive you want files to be copied to is not "%2", then press
  38. echo Control-C to abort; otherwise,
  39. pause
  40. %2
  41. cd\
  42. if exist %2\GCC\*.* goto SKIP
  43. md GCC
  44. :SKIP
  45. cd\GCC
  46. copy %1t.com %2
  47. copy %1runme1st.bat %2
  48. %1pkunzip -d %1*
  49. echo -
  50. echo Insert Disk 2 of 4 and
  51. pause
  52. %1pkunzip -d %1*
  53. echo -
  54. echo Insert Disk 3 of 4 and
  55. pause
  56. %1pkunzip -d %1*
  57. echo -
  58. echo Insert Disk 4 of 4 and
  59. pause
  60. %1pkunzip -d %1*
  61. cls
  62. echo All Finished!!
  63. goto END
  64. :NODRIVE
  65. echo **************************************************************************
  66. echo **                                                                      **
  67. echo **                     - GNU C++ Compiler   -                           **
  68. echo **                                                                      **
  69. echo **   To extract files, type INSTALL [source drive] [destination drive]  **
  70. echo **                                                                      **
  71. echo **   For example,                                                       **
  72. echo **                                                                      **
  73. echo **                       A:INSTALL A: C:                                ** 
  74. echo **                                                                      **
  75. echo **   will extract GNU C++ from drive A: to drive C:                     **
  76. echo **                                                                      **
  77. echo **************************************************************************
  78. goto X
  79. :END
  80. echo **************************************************************************
  81. echo **                                                                      **
  82. echo **  The extracted document files can be viewed with the T.COM program   **
  83. echo **  pressing the ESC key to skip between files and X to exit to DOS.    **
  84. echo **  (for a full list of what T can do, press ? while viewing a file)    **
  85. echo **                                                                      **
  86. echo **************************************************************************
  87. :X
  88. EXIT
  89.